package org.yasukusury.crawler.mapper;

import org.apache.ibatis.annotations.Param;
import org.yasukusury.crawler.dao.Copy;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Y
 * @since 2017-11-12
 */
public interface CopyMapper{
    int insert(Copy copy);

    int inserts(@Param("asin") String asin, @Param("copies") List<Copy> copies);

    @Deprecated
    int insertss(@Param("copies") List<Copy> copies);
}
